<?php
/**
 * Created by PhpStorm.
 * User: root
 * Date: 7/25/14
 * Time: 1:41 PM
 */

namespace Authorize\Service;

use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;

class ConfigServiceFactory implements FactoryInterface
{
    public function createService(ServiceLocatorInterface $serviceLocator)
    {
        $config = $serviceLocator->get('Config');
        return $config['authorize'];
    }
} 